package com.zhangh.summer.admin.biz.auth;

import com.zhangh.summer.admin.model.bo.AuthBO;
import com.zhangh.summer.admin.model.bo.DataBO;
import com.zhangh.summer.admin.model.po.AdAuthPO;
import com.zhangh.summer.admin.support.ds.common.pager.DataPager;
import com.zhangh.summer.admin.support.ds.common.pager.Pager;

import java.util.List;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2021-09-28 21:33
 **/
public interface AuthBiz {

    public DataPager<AdAuthPO> getAuthDataPager(DataBO query, Pager pager);

    public AuthBO getAuthBO(long id);

    public int saveAuthBO(AuthBO authBO);

    public int updateAuthBO(AuthBO authBO);

    public int deleteAuth(Long id);

    public List<AdAuthPO> getAuthList();
}
